(0) Obligation:

Clauses:

n :- ','(=(X, f(1, f(0, X))), g(X)).
g(f(X, f(X, X1))) :- !.
g(f(X2, X)) :- g(X).

Query: n()

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph ICLP10.

(2) TRUE